package xidw_mod

import (
	"server/global"
)


type SysDictionary struct {
	global.BaseModel
	Name string `json:"name" form:"name" gorm:"column:name;comment:字典名（中）"`
	Type string `json:"type" form:"type" gorm:"column:type;comment:字典名（英）"`
	Status *bool `json:"status" form:"status" gorm:"column:status;comment:状态"`
	Detail string `json:"detail" form:"detail" gorm:"column:detail;comment:描述"`
	SysDictionaryDetails []SysDictionaryDetail `json:"sysDictionaryDetails" form:"sysDictionaryDetails"`
}

func (SysDictionary) TableName() string {
	return "sys_dictionaries"
}
